package com.heima.pojo.dto;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;


@Data
@AllArgsConstructor
@NoArgsConstructor
public class NodeDTO {
    private String name;
    private String addr;
    private String areaCode;
    private Integer createUserId;
    @JsonSerialize(using = ToStringSerializer.class)
    private Long regionId;
    private Integer businessId;
    private Integer ownerId;
    private String ownerName;

}
